package com.yang.mapper;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;

import com.yang.entity.Role;

public interface RoleMapper {

	@Insert("insert into role (name,urls) values (#{name},#{urls})")
	public void insert(Role role);
	@Select("select * from role where id = #{id}")
	public Role get(Integer id);
}
